<?php session_start();?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">

<?php include('config.php'); 
?>

<?php 
$lang= $_SESSION['lang'];
if ($_GET['lang']) {
    $lang = $_GET['lang'];
}
?>

<body onunload='GUnload()'>

<div class="page">

<?php 
include('topbanner.php');
include('header.php');
include('src/functions.php');
include('src/langs.php');
include('mainmenu.php');
?> 

<?php 
$cont = $_GET['cont'];
if (strlen($cont) < 1) {
    $cont = 'main';
}
?>

<div id="PAGE_CONTENT">
<?php include($cont.'/index.php'); ?>
</div>

<?php 
include('footer.php');
?>

</body>
</html>